package models

import "time"

// AutoReply 自动回复规则模型，用于存储针对特定关键词的自动回复内容
type AutoReply struct {
	ReplyID      int        `gorm:"column:reply_id;primaryKey;autoIncrement" json:"reply_id"`
	Keyword      string     `gorm:"column:keyword;size:50;not null" json:"keyword"`
	ReplyContent string     `gorm:"column:reply_content;type:text;not null" json:"reply_content"`
	Platform     string     `gorm:"column:platform;size:50;not null" json:"platform"`
	Status       string     `gorm:"column:status;type:enum('启用','禁用');not null" json:"status"`
	CreateTime   time.Time  `gorm:"column:create_time" json:"create_time"`
	DeletedAt    *time.Time `gorm:"column:deleted_at" json:"deleted_at"`
}
